Update treeview tests for focus changes
authorMatthias Clasen <mclasen@redhat.com>
Thu, 22 May 2014 10:15:12 +0000 (06:15 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 22 May 2014 10:15:12 +0000 (06:15 -0400)
The treeview is not using focus-pad here anymore, so update
the tests to not expect it.

testsuite/gtk/treeview.c

index b39d9f6233f4b75cc1146a4e095b3ddebee74a6c..abe1885256ab45e244ace2247b206ec85a51ad6f 100644 (file)
@@ -216,9 +216,9 @@ test_row_separator_height (void)
                         NULL);
 
   if (wide_separators)
-    height = separator_height + 2 * focus_pad;
+    height = separator_height;
   else
-    height = 2 + 2 * focus_pad;
+    height = 2;
 
   g_assert_cmpint (rect.height, ==, height);
   g_assert_cmpint (cell_rect.height, ==, height);